<?php
if(isset($javascript)):
    echo $this->Html->css('imgareaselect-default');
        echo $this->Javascript->link('jquery-1.5.2.min.js');
        echo $this->Javascript->link('jquery.imgareaselect.pack.js');
endif;
?>

<?php
        echo $this->Form->create('Imagen', array('action' => 'createimage_step3',"enctype" => "multipart/form-data"));
        echo $this->Form->input('id');
        echo $this->Form->hidden('name');
        echo $this->Cropimage->createForm($uploaded["imagePath"], 151, 151);
        echo $this->Form->submit('Done', array("id"=>"save_thumb"));
echo $form->end();?>